package com.klarna.raas.ws.dao.mapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import com.klarna.raas.ws.domain.PersonInfo;

public class PersonRowMapper implements RowMapper<PersonInfo> {

	public PersonInfo mapRow(ResultSet rs, int line) throws SQLException {
		PersonResultsetExtractor extractor = new PersonResultsetExtractor();
		return extractor.extractData(rs);
	}

}
